<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <div class="breadcrumb_wrap">
        <ul class="breadcrumb">
            <li>您的位置：</li>
            <li> <a href="messages_list.html">消息群发管理</a> <span class="divider">></span> </li>
            <li class="active">列表</li>
        </ul>
    </div>
    <div class="select_box " >
        <form class="form-horizontal" role="form">
            <div class="form-group col-md-4">
                <label class="control-label">标题：</label>
                <input type="text" class="form-control" ng-model="searchParam.title">
            </div>
            <div class="form-group col-md-4">
                <label class="control-label">内容：</label>
                <input type="text" class="form-control" ng-model="searchParam.content">
            </div>

            <div class="form-group col-md-4 button_box ">
                <button type="button" class="btn btn-primary" ng-click="searchList()"><i class="glyphicon glyphicon-search"></i>搜索</button>
                <button type="button" class="btn btn-primary btn_add" ng-click="addMessagegroupFun()"><i class="glyphicon glyphicon-plus"></i>新增</button>
            </div>
        </form>
    </div>
    <div class="table-responsive con_list">
        <table class="table table-striped">
            <thead>
            <tr>
                <th>发布人</th>
                <th>发布时间</th>
                <th>标题</th>
                <th>内容</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="messagegroup in messagegroupList">
                <td>{{messagegroup.inputUserName}}</td>
                <td>{{messagegroup.inputDate}}</td>
                <td>{{messagegroup.title}}</td>
                <td>{{messagegroup.content}}</td>
                <td class="ops">
                    <button type="button" class="btn btn-primary"  ng-click="detailMessagegroupFun(messagegroup)">明细</button>
                    <button type="button" class="btn btn-primary"  ng-click="updateMessagegroupFun(messagegroup)">修改</button>
                    <button type="button" class="btn btn-primary del" ng-click="deleteMessagegroupFun(messagegroup.id)" >删除</button>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <div class="page_wrap">
        <div class="text-center scott">
            <uib-pagination  total-items="totalItems" ng-model="currentPage" boundary-links="true" max-size="5"   ng-change="pageChanged()" items-per-page="itemsPerPage" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></uib-pagination>
        </div>
    </div>
</div>